package com.server.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @ClassName: AdminLogin
 * @Description: 登录时用到的实体类
 * @Date: 2025/9/13
 */
@Data
@EqualsAndHashCode(callSuper = false) //只需要比较子类自身的业务字段
@Accessors(chain = true) //可以链式调用
@ApiModel(value = "AdminLogin对象",description = "") //生成接口文档的注解
public class AdminLogin {

    @ApiModelProperty(value = "用户名",required = true)
    private String username;

    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
